home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-24 | 1009 b | 32 lines | [TEXT/GEOL] |
- Item 3118903 22-April-89 18:42
-
- From: CDA0373 AUC Lakehead University
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: USet-a MacApp Set Theory
-
- Hello fellow MacAppers!
-
- In a separate file is a unit, USet, designed to implement an object-style Set
- Theory in MacApp.
-
- While an earlier version has been in use for over 2 years, this newer one has
- not been extensively tested as yet.
-
- Some questions that come immediately to mind are:
- 1 Should TSet.GetElement select a random element of a non-empty set?
- 2 In the methods, Intersection and Difference, should one really run
- through the elements of the calling set and do the binary search,
- GetInsertIndex, in the variable set? Are there well defined values [of set
- sizes] for which one algorithm is better than the other?
-
- As I am not a CS type by profession, I would appreciate any feedback anyone
- might offer.
-
- Alan Day -- CDA0373
-
- raday@lakehead.bitnet
-
-
-